package edu.udel.gemini.repository;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import edu.udel.gemini.model.Instruction;
import edu.udel.gemini.model.Register;

public interface ProcessingUnit {
	
	/* Returns the instruction at line location */
	Instruction getInstructionByLine(int line);
	
	/* Returns the list of instructions */
	List<Instruction> getInstructions();
	
	/* Parses a file into a list of Instructions */
	boolean parseFile(MultipartFile multipartFile);

	List<Register> getRegisters();

}
